package com.example.management.system.service

import com.example.management.common.domain.UserCompanyDO

interface UserCompanyService {

    abstract operator fun get(companyId: Long?): UserCompanyDO

    abstract fun list(map: Map<String, Any>): List<UserCompanyDO>

    abstract fun count(map: Map<String, Any>): Int

    abstract fun save(userCompany: UserCompanyDO): Int

    abstract fun update(userCompany: UserCompanyDO): Int

    abstract fun remove(companyId: Long?): Int

    abstract fun batchRemove(companyIds: Array<Long>): Int
}